﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ApiManage.Models.zyhModels;

namespace ApiManage.Service.MsSql.IService
{
    public interface ISysMenuService
    {
        List<SysMenu> GetList(Expression<Func<SysMenu, bool>> where);
        void AddMenu(SysMenu param);
        void EditMenu(SysMenu param);
        void DelMenu(int menuId);
        List<SysMenuButton> GetMenuButton(Expression<Func<SysMenuButton, bool>> where);
        void AddButton(SysMenuButton param);
        void EditButton(SysMenuButton param);
        void DelButton(int id);
        List<SysMenuColumn> GetMenuColumn(Expression<Func<SysMenuColumn, bool>> where);
        void AddColumn(SysMenuColumn param);
        void EditColumn(SysMenuColumn param);
        void DelColumn(int id);
    }
}
